home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / libs / unixlib.lha / unix / src / amiga.h < prev    next >
C/C++ Source or Header  |  1996-11-10  |  640b  |  28 lines

  1. #include <exec/types.h>
  2. #include <dos/dos.h>
  3. #include <proto/dos.h>
  4. #include <proto/exec.h>
  5.  
  6. #include <errno.h>
  7. #include <stddef.h>
  8. #include <stdlib.h>
  9. #include <stdio.h>
  10. #include <sys/types.h>
  11. #include <internal/vars.h>
  12.  
  13. extern struct timeinfo *_odd_timer;
  14. extern ULONG _odd_sig;
  15. extern struct Library *TimerBase;
  16.  
  17. int convert_oserr(int ioerr);
  18. void _seterr(void);
  19. void __regargs __chkabort(void);
  20.  
  21. #define ERROR do { _seterr(); return -1; } while(0)
  22. #define AMIGA_UID 1
  23. #define AMIGA_GID 0
  24.  
  25. int _make_protection(int mode);
  26. int _make_mode(int protection);
  27. void _fibstat(struct FileInfoBlock *fib, int isroot, struct stat *sbuf, long dev);
  28.